package com.cnap.multiclouldmgmt.model.k8sMonitorModels;

import com.cnap.multiclouldmgmt.model.k8sModels.K8sClusterModel;
import com.cnap.multiclouldmgmt.model.k8sModels.PodModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
/**
 * 监控或者算法需要的数据
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sMonitorModels.NodeMonitorModel",description = "集群监控信息")
public class NodeMonitorModel extends K8sClusterModel {

    //node的状态
    @ApiModelProperty(value = "node的状态")
    private String nodeStatus;

    //节点中容器组总数
    @ApiModelProperty(value = "节点中容器组总数")
    private int totalPodNum;

    //节点中正常容器组总数
    @ApiModelProperty(value = "节点中正常容器组总数")
    private int normalPodNum;

    //nodeIp
    @ApiModelProperty(value = "nodeIp")
    private String nodeIp;


    //nodeName
    @ApiModelProperty(value = "nodeName")
    private String nodeName;

    //节点中容器的信息
    @ApiModelProperty(value = "节点中容器的信息")
    private List<PodModel> podModels;

    /**
     * get
     *
     * @return NodeStatus
     */
    public String getNodeStatus() {
        return nodeStatus;
    }

    /**
     * set
     *
     * @param nodeStatus nodeStatus
     */
    public void setNodeStatus(String nodeStatus) {
        this.nodeStatus = nodeStatus;
    }

    /**
     * get
     *
     * @return TotalPodNum
     */
    public int getTotalPodNum() {
        return totalPodNum;
    }

    /**
     * set
     *
     * @param totalPodNum totalPodNum
     */
    public void setTotalPodNum(int totalPodNum) {
        this.totalPodNum = totalPodNum;
    }

    /**
     * get
     *
     * @return NormalPodNum
     */
    public int getNormalPodNum() {
        return normalPodNum;
    }

    /**
     * set
     *
     * @param normalPodNum normalPodNum
     */
    public void setNormalPodNum(int normalPodNum) {
        this.normalPodNum = normalPodNum;
    }

    /**
     * get
     *
     * @return NodeIp
     */
    public String getNodeIp() {
        return nodeIp;
    }

    /**
     * set
     *
     * @param nodeIp nodeIp
     */
    public void setNodeIp(String nodeIp) {
        this.nodeIp = nodeIp;
    }

    /**
     * get
     *
     * @return NodeName
     */
    public String getNodeName() {
        return nodeName;
    }

    /**
     * set
     *
     * @param nodeName nodeName
     */
    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    /**
     * get
     *
     * @return PodModels
     */
    public List<PodModel> getPodModels() {
        return podModels;
    }

    /**
     * set
     *
     * @param podModels podModels
     */
    public void setPodModels(List<PodModel> podModels) {
        this.podModels = podModels;
    }
}
